#ifndef PLAYERMOVES_H_
#define PLAYERMOVES_H_

#include "SnakeSegment.h"
#define PLAYER_MAX_MOVES_NUMBER 5
#define PLAYER_LAST_DIRECTION_NUMBER 0

#define PLAYER_STATE_DISABLED 0
#define PLAYER_STATE_ACTIVE 1
#define PLAYER_STATE_GAME_WIN 2
#define PLAYER_STATE_GAME_LOST 3

#include <string>

typedef  struct
{	
	Direction last_directions[PLAYER_MAX_MOVES_NUMBER];
	int actual_x;/**< for debug */
	int actual_y;
	int player_number;
	int remote_round_number;
	int active_state;
} PlayerMoves;


void resetPlayerMoves(PlayerMoves & pm);
std::string  debugPlayerMoves(PlayerMoves * p_moves);

#endif /*PLAYERMOVES_H_*/
